#ifndef _RGBLED_H_
#define _RGBLED_H_


#define CIN_L GPIOB->ODR&=~(1<<8)
#define CIN_H GPIOB->ODR|=(1<<8)

#define DIN_L GPIOB->ODR&=~(1<<9)
#define DIN_H GPIOB->ODR|=(1<<9)

//RGB
#define RED   0xFF0000
#define GREEN 0x00FF00
#define BLUE 0x0000FF


void RGBPinInit(void);
void RGBControl(unsigned char red,unsigned char green,unsigned char blue);




#endif
